package com.Service.Impl;

import com.Mapper.AdminMapper;
import com.Mapper.IndentMapper;
import com.Service.IndentService;
import com.entity.Indent;
import com.utils.SqlSessionUtils;
import org.apache.ibatis.session.SqlSession;

/**
 * @Author: 冷俊杰
 * @Description: TODO
 * @DateTime: 2022/6/24 16:34
 **/
public class IndentServiceImpl implements IndentService {
    SqlSession sqlSession = SqlSessionUtils.getSqlSession();
    IndentMapper indentMapper = sqlSession.getMapper(IndentMapper.class);

    @Override
    public Integer insertIndent(Indent indent) {
        return indentMapper.insertIndent(indent);
    }
}
